#ifndef PLANE_HPP
#define PLANE_HPP
#include "vector.hpp"
#include "ray.hpp"
#include "material.hpp"
#include "object.hpp"
#include <cmath>

class Plane : public Object {
public:
	Plane(Material*,const Vector&,const Vector&);
	~Plane(void);

	virtual Vector get_normal(const Vector&) const;
	Vector get_point(void) const;

	virtual double intersection(const Ray&,Vector&);
	Vector set_normal(const Vector&);
	Vector setPonto(const Vector&);

private:
	Vector point;
	Vector normal;
};

#endif

